/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.dao;


import io.renren.common.dao.BaseDao;
import io.renren.dto.SysDeptDTO;
import io.renren.entity.SysDeptEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


/**
 * 部门管理
 * 
 * @author Mark sunlightcs@gmail.com
 */
@Mapper
public interface SysDeptDao extends BaseDao<SysDeptEntity> {


    @Select(" select * from  sys_dept where id  = '${id}' ")
    SysDeptDTO getDeptName(Long id);


}